<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<link href="${pageContext.request.contextPath }/ui/ligerui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath }/ui/ligerui/skins/ligerui-icons.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/ui/ligerui/js/ui.core.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/ui/ligerui/js/plugins/ligerForm.js"></script>
<title>新增教师</title>
<script type="text/javascript">
$(function(){
	var groupicon = "${pageContext.request.contextPath }/ui/ligerui/skins/icons/communication.gif";
	var fields = [
		{display:"工号",name:"code",type:"text",newline:false,group: "基础信息", groupicon: groupicon},
		{display:"姓名",name:"tname",type:"text",newline:false},
		
		{display:"性别",name:"sex",type:"text",newline:true},
		{display:"出生日期",name:"birthday",type:"date",newline:false},
		
		{display:"民族",name:"nation",type:"text",newline:true},
		{display:"籍贯",name:"nativeplace",type:"text",newline:false},
		
		{display:"血型",name:"blood",type:"text",newline:true},
		{display:"婚姻状况",name:"marriage",type:"text",newline:false},
		
		{display:"毕业院校",name:"school",type:"text",newline:true},
		{display:"专业",name:"profession",type:"text",newline:false},
		{display:"文化程度",name:"diploma",type:"text",newline:false},
		
		
		{display:"身份证",name:"identity",type:"text",newline:true},
		{display:"是否华侨子女",name:"isOverseasChinese",type:"text",newline:false},
		
		
		{display:"户口所在地",name:"hometown",type:"text",width:'490',newline:true},
		{display:"户口性质",name:"hometowntype",type:"text",newline:false},
		
		{display:"政治面貌",name:"polity",type:"text",newline:true},
		{display:"宗教信仰",name:"religion",type:"text",newline:false},
		
		{display:"联系电话",name:"phone",type:"text",newline:true},
		{display:"办公电话",name:"officephone",type:"text",newline:false},
		{display:"家庭电话",name:"homephone",type:"text",newline:false},
		
		{display:"个人主页",name:"homepages",type:"text",newline:true},
		{display:"电子邮件",name:"email",type:"text",newline:false},
		{display:"联系地址",name:"address",type:"text",width:'490',newline:true},
		
		
		{display:"备注",name:"remark",type:"textarea",width:'490',newline:true}];
	
	$("#add").ligerForm({fields:fields});
});
</script>
</head>
<body>
	<form id="add"></form>
</body>
</html>